package com.cn.wanxi.service.impl;

import com.cn.wanxi.dao.DesignerDao;
import com.cn.wanxi.dao.ProductFindAllDao;
import com.cn.wanxi.dao.impl.DesignerImpl;
import com.cn.wanxi.dao.impl.ProductFindAllImpl;
import com.cn.wanxi.model.ProductModel;
import com.cn.wanxi.model.ResultModel;
import com.cn.wanxi.service.ProductFindAllService;

import java.util.List;

public class ProductFindAllServiceImpl implements ProductFindAllService {
    @Override
    public List<ProductModel> getProductFindAll() {
        ProductFindAllDao productFindAllDao = new ProductFindAllImpl();
        return productFindAllDao.getProductFindAll();
    }

    @Override
    public List<ProductModel> getProductInformationById(ProductModel productModel) {
        ProductFindAllDao productFindAllDao = new ProductFindAllImpl();
        return productFindAllDao.getProductInformationById(productModel);
    }

    @Override
    public ResultModel findAll(ProductModel model) {
        return null;
    }

    @Override
    public ResultModel add(ProductModel model) {
        return null;
    }

    @Override
    public ResultModel findById(ProductModel model) {
        return null;
    }

    @Override
    public ResultModel update(ProductModel model) {
        return null;
    }

    @Override
    public ResultModel delete(ProductModel model) {
        return null;
    }

    @Override
    public ResultModel getCount(ProductModel model) {
        return null;
    }
}
